package com.lagou.application.controller;

import com.lagou.mvc.annotation.Controller;
import com.lagou.mvc.annotation.RequestMapping;
import com.lagou.mvc.annotation.Security;

/**
 * 创建人: yyn
 * 创建时间:2021/8/2 22:30
 */
@Controller()
@RequestMapping("/api")
public class AppController {

    @Security({"zhangsan","lisi"})
    @RequestMapping("/test")
    public String test(String name){
        System.out.println("==========");
        System.out.println(name);
        return name;
    }
}
